﻿@model PracticeAzure.Website.Models.HomeSamplesViewModel

@{
    ViewBag.Title = "代码";
}

<h2>
    <a href="@Html.Raw(Model.SamplesAll.Uri)">全部示例代码打包下载</a>
</h2>

<h2>
    个别下载
</h2>

<table style="width: 100%;">
    @foreach (var sample in Model.Samples)
    { 
        <tr>
            <td>
                <a href="@Html.Raw(sample.Uri)">@sample.Name</a>
            </td>
            <td>
                @sample.Description
            </td>
        </tr>
    }
</table>